﻿using NineSeas.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NineSeas.ViewModels.Admin
{
    public class BooksViewModel
    {
        public IList<BookSummaryViewModel> Books { get; set; }
        public dynamic Pager { get; set; }
        public BookSearchViewModel Search { get; set; }

        public BooksViewModel()
        {
            Search = new BookSearchViewModel();
        }
        public BooksViewModel(IList<BookSummaryViewModel> books, BookSearchViewModel search, dynamic pager)
        {
            Books = books;
            Search = search;
            Pager = pager;
        }
    }
}